package com.investmenttechnologyservices.model;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;

public class UserITS extends EntityHolder{
	//private String id;
	//private String name;
	//private Key firmKey;
	
	public UserITS(Entity entity) {
		super(entity);
	}
	
	public UserITS(String id) {
	    super("user", id);
	}

	public UserITS(String id, String name, Key firmKey) {
		this(id);
		setName(name);
		setFirmKey(firmKey);
	}

	public String getName() {
		return (String) getProperty("name");
	}

	public void setName(String name) {
		setProperty("name", name);
	}
	
	public Key getFirmKey() {
		return (Key)getProperty("firmKey");
	}
	public void setFirmKey(Key firmKey) {setProperty("firmKey",firmKey);}

}
